package com.blog.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.blog.mapper.ArticleMapper;
import com.blog.pojo.Article;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ArticleServiceImpl extends ServiceImpl<ArticleMapper, com.blog.mybatisPlusPojo.Article> implements ArticleService {


    @Autowired
    private ArticleMapper articleMapper;

    public boolean add(Article article) {
        return articleMapper.add(article);
    }
}
